package com.sharekitchen.entity;

import com.sharekitchen.common.MyConst;
import org.springframework.data.annotation.Transient;

import java.util.List;

public class Room {

    private String roomId;
    private double star;
    private int roomStatus;
    private int isDelete = MyConst.DELETE_NO;

    public Room() {
    }

    @Override
    public String toString() {
        return "Room{" +
                "roomId='" + roomId + '\'' +
                ", star=" + star +
                ", roomStatus=" + roomStatus +
                ", isDelete=" + isDelete +
                '}';
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public double getStar() {
        return star;
    }

    public void setStar(double star) {
        this.star = star;
    }

    public int getRoomStatus() {
        return roomStatus;
    }

    public void setRoomStatus(int roomStatus) {
        this.roomStatus = roomStatus;
    }

    public int getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(int isDelete) {
        this.isDelete = isDelete;
    }

    public Room(String roomId, double star, int roomStatus, int isDelete) {
        this.roomId = roomId;
        this.star = star;
        this.roomStatus = roomStatus;
        this.isDelete = isDelete;
    }
}
